#app .tile.tile-2 .tile-inner {
    background: #eee4da;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);
}

#app .tile.tile-4 .tile-inner {
    background: #ede0c8;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0), inset 0 0 0 1px rgba(255, 255, 255, 0);
}

#app .tile.tile-8 .tile-inner {
    color: #183178;
    background: #f2b179;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

#app .tile.tile-16 .tile-inner {
    color: #183178;
    background: #f59563;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

#app .tile.tile-32 .tile-inner {
    color: #183178;
    background: #f67c5f;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

#app .tile.tile-64 .tile-inner {
    color: #183178;
    background: #f65e3b;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

@media screen and (max-width: 520px){
    body #app .tile.tile-128 .tile-inner,
    body #app .tile.tile-256 .tile-inner,
    body #app .tile.tile-512 .tile-inner{
        font-size: 25px;
    }
    body #app .tile.tile-1024 .tile-inner,
    body #app .tile.tile-2048 .tile-inner{
        font-size: 20px;
    }
}

#app .tile.tile-128 .tile-inner {
    color: #183178;
    background: #edcf72;
    font-size: 45px;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.2381), inset 0 0 0 1px rgba(255, 255, 255, 0.14286);
}

#app .tile.tile-256 .tile-inner {
    color: #183178;
    background: #edcc61;
    font-size: 45px;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.31746), inset 0 0 0 1px rgba(255, 255, 255, 0.19048);
}

#app .tile.tile-512 .tile-inner {
    color: #183178;
    background: #edc850;
    font-size: 45px;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.39683), inset 0 0 0 1px rgba(255, 255, 255, 0.2381);
}

#app .tile.tile-1024 .tile-inner {
    color: #183178;
    background: #edc53f;
    font-size: 35px;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.47619), inset 0 0 0 1px rgba(255, 255, 255, 0.28571);
}

#app .tile.tile-2048 .tile-inner {
    color: #183178;
    background: #edc22e;
    font-size: 35px;
    box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.55556), inset 0 0 0 1px rgba(255, 255, 255, 0.33333);
}

.anim-scale1 {
    animation: var(--anim-time) anim-scale1;
}

.anim-scale2 {
    animation: var(--anim-time) anim-scale2;
}

@keyframes anim-scale1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes anim-scale2 {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
